package com.xinghou.platform.dao.main.common;

import com.xinghou.platform.dao.bases.redis.RedisOperator;
import com.xinghou.platform.util.AppContextUtil;

public class DBShareLevelCached {

	public static int CACHED_SHARE_DB_INDEX = 5;
	public static String CACHE_SHARE_ID = "sharecache:shareid:%s";
	public static String CACHE_SHAREDY_ID = "sharedycache:sharedyid:%s";
	public static String CACHE_SHAREDY_UID = "sharedyusercache:userid:%s";

	public static RedisOperator getRedisClient(){
		return (RedisOperator)AppContextUtil.getBean("cachedMainRedisOperator");
	}
	
}
